package com.javaweb.blogcite.service;

import com.javaweb.blogcite.common.PageData;
import com.javaweb.blogcite.pojo.Message;

public interface MessageService {

    Message postMessage(Message message);

    boolean deleteMessage(Integer id);

    PageData<Message> getMessagesByPage(Integer page, Integer limit);
}
